<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1.0">
	<meta name="description" content="<?php echo ($site_conf["setting_site_title"]); ?>">
	<meta name="author" content="CDCT TEAM.">
	<title>系统后台 - <?php echo ($site_conf["setting_site_title"]); ?></title>
	<link type="text/css" rel="stylesheet" media="screen" href="/static/common/style/reset.css?v=3.17.2" />
	<link type="text/css" rel="stylesheet" media="screen" href="/static/admin/style/basic.css?v=1.0.0" />
	<style type="text/css" rel="stylesheet" media="screen">html,body{height:100%;}html{height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:50px 0 0 0;overflow:hidden;}</style>
</head>
<body>
<noscript>
	<div style="text-align:center;padding:30px 20px;margin-bottom:50px;color:#AD0000;font-size:14px;text-shadow:1px 1px 0 rgba(255,255,255,.8);background:#FFD9D9;border:1px solid #FFB5B5;">
		<p>您的浏览器不支持javascript脚本功能，无法使用本系统提供的功能，请开启浏览器javascript功能后刷新页面。</p>
		<p>Sorry, your browser does not support JavaScript.</p>
	</div>
</noscript>
<div id="body">
	<div id="header">
		<div class="wrap clearfix">
			<div id="branding">
				<h1><a href="#"><em></em>Admin</a></h1>
			</div>
			<div id="mainNav">
				<ul id="navPrimary" class="clearfix">
					<li class="current"><a href="javascript:;" data-id="0" title="控制台">控制台</a></li>
					<?php if(is_array($top_menus)): $i = 0; $__LIST__ = $top_menus;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li><a href="javascript:;" data-id="<?php echo ($val["id"]); ?>" title="<?php echo L($val['name']);?>"><?php echo L($val['name']);?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</div>
			<div id="topNav">
				<dl>
					<dt><a class="top-user" href="javascript:;">用户</a></dt>
					<dd style="display:none;">
						<ul>
							<li><span><?php echo ($admin["username"]); ?> ( <?php echo ($admin["role_name"]); ?> )</span></li>
							<li><a href="" target="_blank">前台首页</a></li>
							<li><a href="<?php echo U('backend/passport/logout');?>">注销</a></li>
						</ul>
					</dd>
				</dl>
				<dl><dt><a class="top-cache" id="linkCacheUpdate" href="javascript:;" title="缓存更新">缓存更新</a></dt></dl>
			</div>
		</div>
	</div>
	<div id="main" class="clearfix">
		<div id="aside">
			<div id="secondaryNav" class="secondary">
				<dl id="navSecondary" data-uri="<?php echo U('backend/index/left');?>"><dt class="disabled"></dt></dl>
			</div>
		</div>
		<div id="central">
			<div id="toolbar" class="clearfix">
				<div id="tabContent">
					<div style="position:relative;">
                        <span class="tab-controll tab-prev">
                            <a id="btnTabPrev" class="tab-btn tab-btn-prev" tabindex="-1" href="javascript:;" title="上一页">上一页</a>
                        </span>
                        <span class="tab-controll tab-next">
                            <a id="btnTabNext" class="tab-btn tab-btn-next" tabindex="-1" href="javascript:;" title="下一页">下一页</a>
                        </span>
					</div>
					<div id="tabMenu" class="tab-controll tab-menu">
                        <span class="tab-controll">
                            <a id="btnTabMenu" class="tab-btn tab-btn-menu" tabindex="-1" href="javascript:;" title="关闭所有页面">关闭所有</a>
                        </span>
					</div>

					<div id="tabNav">
						<div class="tab-wrap">
							<ul class="clearfix">
								<li class="default current" data-id="default" tabindex="0">
									<a href="javascript:;">后台首页</a>
								</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div id="content" class="clearfix">
				<!--                <div id="content">-->
				<div id="blockMainFrame" class="block-ui" style="display:none;">
					<div class="block-overlay"></div>
					<div class="block-msg">页面加载中，请稍候...</div>
				</div>
				<iframe id="iframe_default" src="<?php echo U('index/panel');?>" class="frame-main" frameborder="0" scrolling="auto"></iframe>

				<!--                </div>-->
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
	// 全局变量

	if (window.top !== window.self) {
		document.write = '';
		window.top.location.href = window.self.location.href;
		setTimeout(function () {
			document.body.innerHTML = '';
		}, 0);
	}
	var CACHE_URL = "<?php echo U('backend/cache/index');?>"
</script>
<script type="text/javascript" src="/static/common/script/jquery-1.11.1.min.js?v=1.11.1"></script>
<script type="text/javascript" src="/static/admin/script/index.js?v=1.0.0"></script>
<script>

</script>
</body>
</html>